package com.gip.mapper;

import com.gip.pojo.User;

import java.util.List;
import java.util.Map;

public interface UserMapper {


    //根据id查询用户
    User findUserById(int id);

    //查询全部用户
    List<User> findAllUser();

     int upDateUser(User user);

     int deleteUser(int id);

     int conutUser();

     List<User> findUserByIf(Map map);

     int addUser(User user);

     int deleteUsers(List list);



}
